{template "content","header"}
<!--main-->
<div class="main">
	<div class="col-left">
    	<div class="crumbs"><a href="{siteurl($siteid)}">首页</a><span> > </span>{catpos($catid)} 标签：<font color="red">{$tag}</font> 总共有 {$total} 条记录</div>
      <div class="box">          
          <div class="content list-photo">
          <h5 class="relation"><span class="red">{$tag}</span>相关视频</h5>
          {loop $datas $r}
          <ul>         
						<li class="thumb">
							<div class="img-wrap">
                    <a href="{$r[url]}" title="{$r[title]}" target="_blank"><img src="{thumb($r[thumb],128,96)}" alt="{$r[title]}" title="{$r[title]}" width="128" height="96" /></a>
              </div>
						</li>
						<li class="title"><a href="{$r[url]}" title="{$r[title]}" target="_blank">{$r[title]}</a></li>
            <li class="rate"><span class="label">评分:</span><em class="rate">{$r[rate]}</em></li>
            <li class="actor">{$r[actors]}</li>										
		      </ul>
		      {if $n%5==0}
							<div class="myclear"></div>
					{/if}	
		      {/loop}
		    </div>
		  </div>
		  <div class="bk10"></div>
      <div id="pages" class="text-c">{$pages}</div>
  </div>
    <div class="col-auto">
        <div class="box">
            <h5 class="title-2">{$cat[catname]}频道总播放排行榜</h5>
             {pc:content action="hits" catid="$catid" num="10" order="views DESC"}
            <ul class="content digg">
						{loop $data $r}
							<li>
								<a href="{$r[url]}" target="_blank" title="{$r[title]}"{title_style($r[style])}>{$r[title]}</a>
								<span class="hits">{$r[views]}</span>
							</li>
						{/loop}
            </ul>
            {/pc}
        </div>
        <div class="bk10"></div>
        <div class="box">
            <h5 class="title-2">{$cat[catname]}频道本月播放排行榜</h5>
             {pc:content action="hits" catid="$catid" num="10" order="monthviews DESC"}
            <ul class="content digg">
						{loop $data $r}
							<li>
								<a href="{$r[url]}" target="_blank" title="{$r[title]}"{title_style($r[style])}>{$r[title]}</a>
								<span class="hits">{$r[monthviews]}</span>
							</li>
						{/loop}
            </ul>
            {/pc}
        </div>
    </div>
    <div class="clear"></div>
</div>
{template "content","footer"}